/**
* @描述: Picture.java
* @作者: guoxia
* @公司 浙江鸿程计算机系统有限公司
* @创建日期: 2023-04-07 05:56:49
*/
package com.hcss.picture.model;

import com.hcss.paging.model.BasePagingModel;
import java.util.Date;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@EqualsAndHashCode(callSuper=true)
@ToString(callSuper = true)
@Getter
@Setter
public class Picture extends BasePagingModel {
    /**
     * 图片的主键
     */
    private String id;

    /**
     * 图片名称
     */
    private String pictureName;

    /**
     * 图片的保存地址
     */
    private String pictureAddress;

    /**
     * 图片的类型（检测图片，检测结果）
     */
    private String pictureType;

    /**
     * 图片创建的时间
     */
    private Date pictureTime;

    /**
     * 操作人
     */
    private String optiorName;

    /**
     * 是否已经逻辑删除
     */
    private String ifDelete;

    /**
     * 云占比
     */
    private String proportion;

    /**
     * 
     *
     * @param id
     */
    public Picture withId(String id) {
        this.setId(id);
        return this;
    }

    /**
     * 
     *
     * @param pictureName
     */
    public Picture withPictureName(String pictureName) {
        this.setPictureName(pictureName);
        return this;
    }

    /**
     * 
     *
     * @param pictureAddress
     */
    public Picture withPictureAddress(String pictureAddress) {
        this.setPictureAddress(pictureAddress);
        return this;
    }

    /**
     * 
     *
     * @param pictureType
     */
    public Picture withPictureType(String pictureType) {
        this.setPictureType(pictureType);
        return this;
    }

    /**
     * 
     *
     * @param pictureTime
     */
    public Picture withPictureTime(Date pictureTime) {
        this.setPictureTime(pictureTime);
        return this;
    }

    /**
     * 
     *
     * @param optiorName
     */
    public Picture withOptiorName(String optiorName) {
        this.setOptiorName(optiorName);
        return this;
    }

    /**
     * 
     *
     * @param ifDelete
     */
    public Picture withIfDelete(String ifDelete) {
        this.setIfDelete(ifDelete);
        return this;
    }

    /**
     * 
     *
     * @param proportion
     */
    public Picture withProportion(String proportion) {
        this.setProportion(proportion);
        return this;
    }
}